<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/include/taglib.jsp"%>
<html>
<head>
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta charset="UTF-8">
<title>账户设置_共富网_Gofull.com.cn</title>
<script src="/v3/js/jquery-1.10.2.min.js" type="text/javascript"></script>
<link type="text/css" rel="stylesheet" href="/v3/css/wstyle.css">
<link type="text/css" rel="stylesheet" href="/v3/css/account.css">
</head>
<body>
	<div id="wrap">
		<input type="hidden" id="userId" name="userId"
			value="${session.user.id}" />
		<div class="user-top">
			<div class="user-face">
				<img src="/v3/images/face.png">
			</div>
			<p>${sessionScope.user.userName}</p>
		</div>
		<ul class="pro-info userInfo">
			<li><p>实名认证</p> <s:if test="#session.user.isBindIdNo == 0">
					<span><a class="btnAble" href="/wchatRealNameAuthen.do">立即认证</a>
					</span>
				</s:if> <s:elseif test="#session.user.isBindIdNo == 1">
					<span>${session.user.realName}</span>
				</s:elseif>
			</li>

			<li><p>手机号码</p> <s:if test="#session.user.isBindMobile == 0">
					<span><a class="btnAble" href="/bindMobile.do">立即绑定</a> </span>
				</s:if> <s:elseif test="#session.user.isBindMobile == 1">
					<span>${sessionScope.user.mobilePhone}</span>
				</s:elseif>
			</li>

			<s:if test="#session.isBindQuestion == 0">
				<li class="lineTop-bold"><p>登录密码</p> <span>设置密保问题后可修改</span></li>
				<li><p>支付密码</p> <span>设置密保问题后可修改</span></li>
				<li><p>密保问题</p> <span
					onclick="location.href='/setSecurityQuestion.do'"><em>设置</em><i
						class="icon-nextSmall"></i> </span></li>
			</s:if>
			<s:elseif test="#session.isBindQuestion == 1">
				<li class="lineTop-bold"><p>登录密码</p> <span
					onclick="location.href='/modifyLoginPwd.do'"><em>修改</em><i
						class="icon-nextSmall"></i> </span></li>
				<li><p>支付密码</p> <span
					onclick="location.href='/modifyPayPwd.do'"><em>修改</em><i
						class="icon-nextSmall"></i> </span></li>
				<li><p>密保问题</p> <span
					onclick="location.href='/changeSecretQuestionWchat.do'"><em>修改</em><i
						class="icon-nextSmall"></i> </span></li>
			</s:elseif>
		</ul>
		<div onclick="location.href='/wchatLogout.do'" class="loginout-btn">
			切换帐号</div>
	</div>
	<jsp:include page="/include/v3/footer.jsp"></jsp:include>
	<script type="text/javascript">
		$(function() {
			pushHistory();
			window.addEventListener("popstate", function(e) {
				window.location.href = "/wchatUserCenter.do"; //微信返回url
			}, false);
			function pushHistory() {
				var state = {
					title : "title",
					url : "#"
				};
				window.history.pushState(state, "title", "#");
			}

		});
	</script>
</body>
</html>
